
 <div class="ad">
		 <div class="pic">
			{loop} <a href="{$r['link']}"> <img src="{$r['pic']}" alt="" /> </a>{/loop} 
		 </div>
		{loop}  <p class="info">{$r['title']}</p>{/loop} 
</div>
				                                                                                                                                                                                                                                                                                                